import {
  HomeOutlined,
  SketchOutlined,
  TrophyOutlined,
  BookOutlined,
  StarOutlined,
  IdcardOutlined,
  LikeOutlined,
  TeamOutlined,
  MacCommandOutlined,
  DeploymentUnitOutlined,
  ContainerOutlined,
  BulbOutlined,
  ApartmentOutlined,
  BranchesOutlined,
  ClusterOutlined,
  CrownOutlined,
  FireOutlined,
  SmileOutlined,
  TableOutlined,
  SolutionOutlined,
  SafetyCertificateOutlined,
  RobotOutlined,
  ReconciliationOutlined,
  ProfileOutlined,
  SoundOutlined,
} from "@ant-design/icons";
export const routerList = [
  {
    path: "/main/home",
    text: "首页",
    icon: <HomeOutlined />,
    permission: 0,
  },
  {
    path: "/main/tiku",
    text: "题库",
    icon: <TrophyOutlined />,
    permission: 0,
    children: [
      {
        path: "/main/tiku/experience",
        text: "面试经验",
        icon: <BookOutlined />,
        permission: 0,
        children: [
          {
            path: "/main/tiku/experience/publish",
            text: "发表面经",
            icon: <SketchOutlined />,
            permission: 0,
          },
          {
            path: "/main/tiku/experience/explist",
            text: "面经列表",
            icon: <ContainerOutlined />,
            permission: 0,
          },
          {
            path: "/main/tiku/experience/expmana",
            text: "管理面经",
            icon: <DeploymentUnitOutlined />,
            permission: 2,
          },
        ],
      },
      {
        path: "/main/tiku/category",
        text: "分类管理",
        icon: <BulbOutlined />,
        permission: 2,
      },
      {
        path: "/main/tiku/choose",
        text: "选择题",
        icon: <MacCommandOutlined />,
        permission: 0,
        children: [
          {
            path: "/main/tiku/choose/publish",
            text: "发表选择题",
            icon: <ApartmentOutlined />,
            permission: 0,
          },
          {
            path: "/main/tiku/choose/list",
            text: "选择题列表",
            icon: <BranchesOutlined />,
            permission: 0,
          },
          {
            path: "/main/tiku/choose/manage",
            text: "管理选择题",
            icon: <ClusterOutlined />,
            permission: 2,
          },
          {
            path: "/main/tiku/choose/paper",
            text: "添加套题",
            icon: <ClusterOutlined />,
            permission: 2,
          },
        ],
      },
    ],
  },
  {
    path: "/main/person",
    text: "个人管理",
    icon: <TeamOutlined />,
    permission: 0,
    children: [
      {
        path: "/main/person/comment",
        text: "我的评论",
        icon: <CrownOutlined />,
        permission: 0,
      },
      {
        path: "/main/person/star",
        text: "我的点赞",
        icon: <LikeOutlined />,
        permission: 0,
      },
      {
        path: "/main/person/collect",
        text: "我的收藏",
        icon: <StarOutlined />,
        permission: 0,
      },
      {
        path: "/main/person/changepass",
        text: "修改密码",
        icon: <IdcardOutlined />,
        permission: 0,
      },
    ],
  },
  {
    path: "/main/announc",
    text: "公告",
    icon: <SoundOutlined />,
    permission: 2,
    children: [
      {
        path: "/main/announc/manage",
        text: "发布公告",
        icon: <RobotOutlined />,
        permission: 2,
      },
      {
        path: "/main/announc/list",
        text: "公告列表",
        icon: <ReconciliationOutlined />,
        permission: 2,
      },
    ],
  },
  {
    path: "/main/retroaction",
    text: "反馈",
    icon: <SafetyCertificateOutlined />,
    permission: 0,
    children: [
      {
        path: "/main/retroaction/manage",
        text: "反馈管理",
        icon: <SolutionOutlined />,
        permission: 2,
      },
      {
        path: "/main/retroaction/list",
        text: "反馈列表",
        icon: <ProfileOutlined />,
        permission: 0,
      },
    ],
  },
  {
    path: "/main/composite",
    text: "综合管理",
    icon: <TableOutlined />,
    permission: 2,
    children: [
      {
        path: "/main/composite/manage",
        text: "评论管理",
        icon: <SmileOutlined />,
        permission: 2,
      },
      {
        path: "/main/composite/hot",
        text: "热度管理",
        icon: <FireOutlined />,
        permission: 2,
      },
    ],
  },
];
